Simulation Of Charging & Discharging In Capacitors & Supercapacitors